package com.link.gateway.base.allowurl.service;

import javax.annotation.Resource;

import com.link.gateway.base.allowurl.dao.mybatis.mapper.AllowUrlMapper;
import com.link.gateway.base.allowurl.model.AllowUrl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * url管理-不拦截URL 
 *
 * @author 郭闪
 * @date 2019/07/22 15:56
 */
@Service
public class AllowUrlServiceImpl  implements AllowUrlService {

    @Resource
    private AllowUrlMapper allowUrlMapper;

    @Override
    public List<AllowUrl> queryAll() throws Exception {
        return allowUrlMapper.queryAll();
    }

    @Override
    public List<String> queryAllUrl() throws Exception {
        return allowUrlMapper.queryAllUrl();
    }
}

